package com.start.shop.common.constant;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ApiFeildCode {
	
	//订单查询接口
	API_ORDER_STATUS_NOTPAY(1, "未支付"),
	API_ORDER_STATUS_SHUT(2, "已关闭"),
	API_ORDER_STATUS_ACCEPT(3, "待发货"),
	API_ORDER_STATUS_DELIVERY(4, "已发货"),
	API_ORDER_STATUS_SUCCESS(5, "已收货"),
	API_ORDER_STATUS_CANCEL(6, "已退货"),
	
	//优惠券查询接口
	API_COUPON_QUERY_STAUS_ALL(0, "所有"),
	API_COUPON_QUERY_STAUS_CAN_USE(1, "可用"),
	API_COUPON_QUERY_STAUS_USED(2, "不可用"),
	API_COUPON_QUERY_STAUS_OUT_DATE(1, "可用")
	;
	
	private int code;
    private String message;
    
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}

    
   
}
